package com.qf.chat.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qf.chat.entity.User;
import com.qf.chat.entity.vo.UserLoginVo;

import java.util.List;

/**
 * 用户表(User)表服务接口
 *
 * @author makejava
 * @since 2024-01-12 10:46:27
 */
public interface UserService extends IService<User> {

    User queryUserByUsernameAndPassword(UserLoginVo userLoginVo);

    User queryUserByUserName(String username);

    int updateUserPassword(String username, String password);

    List<User> searchUserByKeyword(String keyword);
}

